package com.sky.mapper;

import com.sky.entity.SetmealDish;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SetmealDishMapper {

    int getCountByDishId(Long id);

    void insertBatch(List<SetmealDish> setmealDishes);

    List<SetmealDish> getBySetmealId(Long setmealId);


    void deleteSetmealDishBySetmealId(Long setmealId);

    void deleteSetmealDishBatchBySetmealId(List<Long> ids);
}
